package com.huike.pojo;

import com.google.gson.annotations.Expose;
import org.springframework.stereotype.Component;

@Component
public class WebSocketResponse {
    @Expose
    private String code;   //响应状态码
    @Expose
    private String type;   //发送的响应类型
    @Expose
    private Object content; //内容实体

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }
}
